home *** CD-ROM | disk | FTP | other *** search
- ' This is the demonstration Master Menu
- ' SIMS (c) David Thomas Stewart 1984-1987
- ' Distributed by Synergy Development - THIS PROGRAM IS PUBLIC DOMAIN
-
- screen(n) ' no colour burst here, please
- border(black) ' and the darkest border possible
-
- normal ' nice quick border
- foreground(yellow)+
- setattr
- box(0,0)-(79,24),"▒"
- fill(1,16),"▒",78 ' and division line
-
- foreground(red+) ' text border box
- blink on
- setattr
- box(19,18)-(60,20),"░"
-
- normal ' set field colours
- foreground(white+)
- background(blue)
- settime
- setdate
- normal
- setstat
- inverse
- setargue
-
- stat(65,23) ' set field positions
- argue(27,22,40)
- date(2,1)
- time(65,1)
-
- normal
- foreground(yellow)
- setattr
- .(23,2)"████▒ ████▒ ███████▒ ██████▒"
- .(23,3)"█▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒"
- .(23,4)"█▒ █▒ ████▒ █▒ █▒ █▒ █▒ █▒"
- .(23,5)"█▒ █▒ █▒ █▒ █▒ █▒ █▒ █▒"
- .(23,6)"████▒ ████▒ █▒ █▒ █▒ ██████▒"
-
- foreground(green+) ' another title
- setattr
- .(26,8)"The Available Options Are:"
-
- option start ' actual OPTIONS
-
- option(F1,13,10)" F1 - Help for Selections ","MENU DEMOHELP"
- option(F3,13,11)" F3 - Video Demonstration ","MENU VIDEODEM"
- option(F5,13,12)" F5 - Procedure Demonstration ","MENU PROCDEM"
- option(F7,13,13)" F7 - Security Demonstration ","MENU SECURDEM"
-
- option(F2,45,10)" F2 - Create Menu ","MENU CREATE"
- option(F4,45,11)" F4 - USER menu ","MENU USER"
- option(F6,45,12)" F6 - Execute DOS Command ","\COMMAND.COM/C ",clear,argue,wait
- option(F8,45,13)" F8 - Return to DOS 2.00 ","EXIT"
-
- option end
-
- proc(F1,select) ' select procedure F1
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" Give Help For Master Menu"
- normal
- setattr
- proc end
-
- proc(F2,select) ' select procedure F2
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" Create, Edit, & Convert Menus"
- normal
- setattr
- proc end
-
- proc(F3,select) ' select procedure F3
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" A Video Demonstration of SIMS"
- normal
- setattr
- proc end
-
- proc(F4,select) ' select procedure F4
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" Execute the USER Menu"
- normal
- setattr
- proc end
-
- proc(F5,select) ' select procedure F5
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" A Procedure Demonstration of SIMS"
- normal
- setattr
- proc end
-
- proc(F6,select) ' select procedure F6
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" Execute a DOS Command from SIMS"
- normal
- setattr
- proc end
-
- proc(F7,select) ' select procedure F7
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" A Security Demonstration of SIMS"
- normal
- setattr
- proc end
-
- proc(F8,select) ' select procedure F8
- inverse
- setattr
- fill(20,19)," ",40
- .(20,19)" Return to DOS (EXIT)"
- normal
- setattr
- proc end
-
- proc(F6,exec) ' exec procedure F6
- inverse
- setattr
- .(13,22)" DOS Command >"
- normal
- setattr
- proc end
-
- end ' that's all folks